home *** CD-ROM | disk | FTP | other *** search
- ' IF-2.BAS
- ' This program demonstrates the AND logical operator.
-
- CLS
-
- INPUT "How many teenagers can fit in a phone booth? ", guess%
- PRINT
- IF guess% > 9 AND guess% < 13 THEN PRINT "That's right!!"
- PRINT "Depending on their size, approximately 10 to 12"
- PRINT "teenagers can fit in a phone booth."
-
-